    	<div>
    		<div dojoAttachPoint="subContainerWidget" dojoType="dojo:TabContainer" doLayout="false" >
    			<div dojoAttachPoint="contentPane1" dojoType="dojo:ContentPane" label="pane 1">
    				Pane 1
    				<div dojoAttachPoint="testElement"></div>
    			</div>
    			<div dojoAttachPoint="contentPane2" dojoType="dojo:ContentPane" label="pane 2">
    				Pane 2
    			</div>
    		</div>
    	</div>

Pane 3
^ Pane 3 ooops - In code how to set test1Widget.containerNode = test1Widget.subContainerWidget.containerNode before child nodes are added? Cannot do automagically because widget template may have multiple containers. Same issue with ButtonA missing below.

    	<div>
    		<div dojoType="myown:Test2"></div>
    	</div>

This test is recursive and hangs the browser or maybe even cause a PC problems. Should we detect this?

    	<div>
    		<div dojoAttachPoint="subContainerWidget" dojoType="myown:Test1" >
    			<div dojoType="dojo:ContentPane" label="pane 3">
    				<div dojoAttachPoint="buttonwidgetA" dojoType="dojo:Button">button A</div>
    				<div dojoAttachPoint="testElement3"></div>
    			</div>
    		</div>
    		<div dojoType="button" dojoAttachPoint="buttonWidgetB">button B
    			<div dojoAttachPoint="testElement3"></div>
    		</div>
    	</div>

Pane X in myown:Test3